package com.itheima.arithmeticoperator;

public class ArithmeticoperatorDemo3 {
    public static void main(String[] args) {
        byte b1 = 10;
        byte b2 = 20;
        byte result = (byte)(b1+b2);//byte转化为int再计算，(byte)强转
        System.out.println(result);
    }
}
